using System.ComponentModel;
using System.Drawing;
using ODT.Common.Core;

namespace PPTerminalControl
{
	public class AmbientProperties : IAmbientControl
	{
		private static Color cmdbg;

		private static Color cmdfg;

		private static Color rspbg;

		private static Color rspMessagefg;

		private static Color rspTypedfg;

		private static Color rspNormalfg;

		private static Color rspErrorfg;

		private static Font txtFont;

		[LocalizedCategory("Common.TextAppearanceCategoryName")]
		[LocalizedDisplayName("Terminal.CommandBackgroundColorName")]
		[LocalizedDescription("Terminal.CommandBackgroundColorDescription")]
		[ReadOnly(false)]
		public Color CommandBackColor
		{
			get
			{
				return cmdbg;
			}
			set
			{
				cmdbg = value;
			}
		}

		[LocalizedCategory("Common.TextAppearanceCategoryName")]
		[LocalizedDisplayName("Terminal.CommandForegroundColorName")]
		[LocalizedDescription("Terminal.CommandForegroundColorDescription")]
		[ReadOnly(false)]
		public Color CommandForeColor
		{
			get
			{
				return cmdfg;
			}
			set
			{
				cmdfg = value;
			}
		}

		[LocalizedCategory("Common.TextAppearanceCategoryName")]
		[LocalizedDisplayName("Terminal.ResponseBackgroundColorName")]
		[LocalizedDescription("Terminal.ResponseBackgroundColorDescription")]
		[ReadOnly(false)]
		public Color ResponseBackColor
		{
			get
			{
				return rspbg;
			}
			set
			{
				rspbg = value;
			}
		}

		[LocalizedCategory("Common.TextAppearanceCategoryName")]
		[LocalizedDisplayName("Terminal.SystemMessageColorName")]
		[LocalizedDescription("Terminal.SystemMessageColorDescription")]
		[ReadOnly(false)]
		public Color SystemMessageColor
		{
			get
			{
				return rspMessagefg;
			}
			set
			{
				rspMessagefg = value;
			}
		}

		[LocalizedCategory("Common.TextAppearanceCategoryName")]
		[LocalizedDisplayName("Terminal.ResponseTypedColorName")]
		[LocalizedDescription("Terminal.ResponseTypedColorDescription")]
		[ReadOnly(false)]
		public Color ResponseTypedColor
		{
			get
			{
				return rspTypedfg;
			}
			set
			{
				rspTypedfg = value;
			}
		}

		[LocalizedCategory("Common.TextAppearanceCategoryName")]
		[LocalizedDisplayName("Terminal.ResponseNormalColorName")]
		[LocalizedDescription("Terminal.ResponseNormalColorDescription")]
		[ReadOnly(false)]
		public Color ResponseNormalColor
		{
			get
			{
				return rspNormalfg;
			}
			set
			{
				rspNormalfg = value;
			}
		}

		[LocalizedCategory("Common.TextAppearanceCategoryName")]
		[LocalizedDisplayName("Terminal.ResponseErrorColorName")]
		[LocalizedDescription("Terminal.ResponseErrorColorDescription")]
		[ReadOnly(false)]
		public Color ResponseErrorColor
		{
			get
			{
				return rspErrorfg;
			}
			set
			{
				rspErrorfg = value;
			}
		}

		[LocalizedCategory("Common.AppearanceCategoryName")]
		[LocalizedDisplayName("Terminal.FontName")]
		[LocalizedDescription("Terminal.FontDescription")]
		[ReadOnly(false)]
		public Font Font
		{
			get
			{
				return txtFont;
			}
			set
			{
				txtFont = value;
			}
		}
	}
}
